package lab02.test06;

/**
 * Created by dell on 2017/10/14.
 */
public class Ladder {
    //属性：double的上底、下底、高、面积
    double top;
    double bottom;
    double hight;
    double area;
    //功能：返回面积
    double area(){
        return ((top+bottom)*hight)/2;
    }
}
